<?php
	class Logout extends Controller{
		function Logout(){
			parent::Controller();
		}
		function index(){
			$this->load->library('session');
			$this->session->unset_userdata('username');
			header('location:'.site_url('admin/login'));
		}
		
	}
?>